package com.csii.modules.online.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.csii.autopoi.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@TableName("onl_auth_relation")
@ApiModel(
   value = "onl_auth_relation对象",
   description = "onl_auth_relation"
)
@Data
public class OnlAuthRelation implements Serializable {
   private static final long a = 1L;
   @TableId(value = "id", type = IdType.ASSIGN_ID)
   private String id;

   @ApiModelProperty(value = "角色id")
   @Excel(  name = "角色id", width = 15.0D )
   private String roleId;

   @ApiModelProperty(value = "权限id")
   @Excel(  name = "权限id", width = 15.0D )
   private String authId;

   @ApiModelProperty(value = "1字段 2按钮 3数据权限")
   @Excel(  name = "1字段 2按钮 3数据权限", width = 15.0D )
   private Integer type;

   @ApiModelProperty(value = "online表单ID")
   @Excel(  name = "online表单ID", width = 15.0D )
   private String cgformId;
}
